package com.wwj.feedback.feign;

import com.wwj.common.entitiy.R;
import com.wwj.feedback.entitiy.UserEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("cems-admin")
public interface UserFeignService {

    /**
     * 查询用户详细信息
     */
    @GetMapping("/admin/getUserById")
    R<UserEntity> getUserById(@RequestParam("userId") String userId);
}
